package com.ts.feign.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Time;
import java.util.Date;


/**
 * 
 *
 * @author Ywl 193363874@qq.com
 * @since 1.0.0 2023-07-15
 */
@Data
@ApiModel(value = "电影场次")
public class SessionDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "场次id")
	private Integer id;

	@ApiModelProperty(value = "电影id")
	private Integer movieId;

	@ApiModelProperty(value = "电影院id")
	private String theatreId;

	@ApiModelProperty(value = "票价")
	private Double price;

	@ApiModelProperty(value = "2D0,3D1")
	private Integer type;

	@ApiModelProperty(value = "开始时间")
	@JsonFormat (pattern = "hh:mm:ss")
	private Time startTime;

	@ApiModelProperty(value = "播放日期")
	@JsonFormat (pattern = "yyyy-MM-dd")
	private Date date;

	@ApiModelProperty(value = "房间id")
	private Integer roomId;

	@ApiModelProperty(value = "座位详情")
	private String seats;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat (pattern = "yyyy-MM-dd hh:mm:ss")
	private Date createTime;


}